#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

void findLongestWord(char* str);

int main() {
    char inputString[100];
    printf("Enter a string: ");
    fgets(inputString, 100, stdin);
    findLongestWord(inputString);
    return 0;
}